<%--
  Created by IntelliJ IDEA.
  User: NEUZJ
  Date: 2018/7/4
  Time: 19:48
  To change this template use File | Settings | File Templates.
--%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="/static/common/easyui_header.jsp"/>
   <script type="text/javascript" src="/static/js/views/bigcustomer.js"></script>
</head>
<body>
<table id="bigcustomer_datagrid">
</table>
<div id="bigcustomer_datagrid_button">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add'" data-cmd="addBigCustomer">添加</a>
    <a class="easyui-linkbutton" id ="update_btn" data-options="iconCls:'icon-edit'" data-cmd="updateBigCustomer">编辑</a>
    <a class="easyui-linkbutton" id ="delete_btn" data-options="iconCls:'icon-remove'" data-cmd="fireBigCustomer">删除</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-view'" data-cmd="checkBigCustomer">查看</a>
    <a class="easyui-linkbutton" id ="aduit_btn" data-options="iconCls:'icon-reload'" data-cmd="signBigCustomer">签约</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload'" data-cmd="reloadBigCustomer">刷新</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-export'" data-cmd="exportBigCustomer">导出</a>
    <span>关键字</span>
    <input class="easyui-textbox" id="keyword">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-search'" data-cmd="search">查询</a>
</div>

<div id="bigcustomer_dialog" class="easyui-dialog" title="添加,"
     data-options="buttons:'#bigcustomer_dialog_button',closed:true">
    <form id="bigcustomer_form" method="post">
        <input type="hidden" name="id" id="bigcustomer_id">
        <table>
            <tr>
                <td>学校</td>
                <td><input name="schoolName" ,class="easyui-textbox"></td>
                <td>地址</td>
                <td><input name="location" ,class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>重要性</td>
                <td><input id="combobox_importance" class="easyui-combobox" name="importance.id"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/listAllItemBySn?sn=importance'"/></td>
                <td>意向程度</td>
                <td><input id="combobox_intentionDegree" class="easyui-combobox" name="intentionDegree.id"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/listAllItemBySn?sn=intentionDegree'"/></td>
                </td>
            </tr>

            <tr>
                <%--<td>电话</td>--%>
                <%--<td><input name="schoolTel" ,class="easyui-textbox"></td>--%>
                <td>意向学科</td>
                <td><input id="combobox_subject" class="easyui-combobox" name="subject.id"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/listAllItemBySn?sn=subject'"/></td>
                </td>
                    <td>营销人</td>
                    <td><input id="combobox_marketer" class="easyui-combobox" name="marketer.id"
                               data-options="valueField:'id',textField:'username',url:'/employee/listEmployee'"/></td>
                    </td>
            </tr>

            <tr>
                <td>追踪人</td>
                <td><input id="combobox_tracer" class="easyui-combobox" name="tracer.id"
                           data-options="valueField:'id',textField:'username',url:'/employee/listEmployee'"/></td>
                </td>
                <td>上次追踪</td>
                <td><input name="earlierTime" type= "text" class= "easyui-datebox" required ="required"> </input>   </td>
            </tr>

            <tr>
                <td>下次追踪</td>
                <td><input  name="laterTime"  type= "text" class= "easyui-datebox" required ="required"> </input>   </td>
                <td>追踪状态</td>
                <td><select id="traceState" class="easyui-combobox" name="traceState" style="width:200px;">
                    <option value="1">已经追踪</option>
                    <option value="0">未追踪</option>
                </select></td>
            </tr>

            <tr>
               <%-- <td>客户状态</td>
                <td><select  id="state_combobox" class="easyui-combobox" name="state" style="width:200px;">
                    <option value="1">已签约</option>
                    <option value="0">未签约</option>
                    <option value="2">已失效</option>
                </select>
                </td>--%>
                <td>学校电话</td>
                <td><input name="schoolTel" ,class="easyui-textbox"></td>
                   <td>学校类型</td>
                   <td><input id="combobox_type" class="easyui-combobox" name="type.id"
                              data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/listAllItemBySn?sn=type'"/></td>
                   </td>
            </tr>

            <tr>
                <td>学生人数</td>
                <td><input name="totalNumber" ,class="easyui-textbox"></td>
                <td>邮编</td>
                <td><input name="postcode" ,class="easyui-textbox"></td>
            </tr>

            <tr>
                <td>传真</td>
                <td><input name="fax" ,class="easyui-textbox"></td>
            </tr>

            <tr>
                <td>简介</td>
                <td><input name="synopsis" class="easyui-textbox" data-options="multiline:true"  style="width:300px;height:100px"></td>
            </tr>
        </table>
    </form>

</div>

<!--查看的dialog--->
<div id="bigcustomer_search_dialog" class="easyui-dialog" title="添加,"
     data-options="closed:true">
    <form id="bigcustomer_search_form" method="post">
        <input type="hidden" name="id" id="bigcustomer_search_id">
        <table>
            <tr>
                <td>学校</td>
                <td><input name="schoolName" ,class="easyui-textbox"></td>
                <td>地址</td>
                <td><input name="location" ,class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>重要性</td>
                <td><input id="combobox_search_importance" class="easyui-combobox" name="importance.id"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/listAllItemBySn?sn=importance'"/></td>
                <td>意向程度</td>
                <td><input id="combobox_search_intentionDegree" class="easyui-combobox" name="intentionDegree.id"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/listAllItemBySn?sn=intentionDegree'"/></td>
                </td>

            </tr>
            <tr>
                <%--<td>电话</td>--%>
                <%--<td><input name="schoolTel" ,class="easyui-textbox"></td>--%>
                <td>意向学科</td>
                <td><input id="combobox_search_subject" class="easyui-combobox" name="subject.id"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/listAllItemBySn?sn=subject'"/></td>
                </td>
                <td>营销人</td>
                <td><input id="combobox_search_marketer" class="easyui-combobox" name="marketer.id"
                           data-options="valueField:'id',textField:'username',url:'/employee/listEmployee'"/></td>
                </td>
            </tr>

            <tr>
                <td>追踪人</td>
                <td><input id="combobox_search_tracer" class="easyui-combobox" name="tracer.id"
                           data-options="valueField:'id',textField:'username',url:'/employee/listEmployee'"/></td>
                </td>
                <td>上次追踪</td>
                <td><input name="earlierTime" type= "text" class= "easyui-datebox" required ="required"> </input>   </td>
            </tr>

            <tr>
                <td>下次追踪</td>
                <td><input  name="laterTime"  type= "text" class= "easyui-datebox" required ="required"> </input>   </td>
                <td>追踪状态</td>
                <td><select id="combobox_search_traceState" class="easyui-combobox" name="traceState" style="width:200px;">
                    <option value="1">已经追踪</option>
                    <option value="0">未追踪</option>
                </select></td>
            </tr>

            <tr>
                <td>客户状态</td>
                <td><select  id="combobox_search_state" class="easyui-combobox" name="state" style="width:200px;">
                    <option value="1">已签约</option>
                    <option value="0">未签约</option>
                    <option value="2">已失效</option>
                </select>
                </td>
                <td>学校电话</td>
                <td><input name="schoolTel" ,class="easyui-textbox"></td>
            </tr>

            <tr>

                <td>学校类型</td>
                <td><input id="combobox__search_type" class="easyui-combobox" name="type.id"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/listAllItemBySn?sn=type'"/></td>
                </td>
                <td>学生人数</td>
                <td><input name="totalNumber" ,class="easyui-textbox"></td>
            </tr>

            <tr>
                <td>邮编</td>
                <td><input name="postcode" ,class="easyui-textbox"></td>
                <td>传真</td>
                <td><input name="fax" ,class="easyui-textbox"></td>
            </tr>
            <tr>
            <tr>
                <td>简介</td>
                <td><input name="synopsis" class="easyui-textbox" data-options="multiline:true"  style="width:300px;height:100px"></td>
            </tr>
        </table>
    </form>

</div>
<div id="bigcustomer_dialog_button">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add'" data-cmd="save">确定</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit'" data-cmd="cancel">取消</a>

</div>
</body>

</html>
